package com.xiangban.service;

import com.xiangban.model.AccompanyWallet;
import com.xiangban.model.dto.OrderDto;
import com.xiangban.model.res.ApiResult;

import java.io.IOException;
import java.math.BigDecimal;
import java.util.Map;

/**
 * @Author ly
 * @date 2021/12/5 16:18
 */
public interface PayService {
    Object WxPay(OrderDto orderDto);
//回调通知
    String payBack(String resXml);

    void businessProcessing(String out_trade_no, String attach) throws IOException;

    String refundOrder(String orderNo, BigDecimal money) throws Exception;

    Object wxDrawings(AccompanyWallet accompanyWallet);

    ApiResult<Object> Send(String phone , String smsTemplate, Map<String,Object> map);
}
